package cmfg;

public class TwoPlayerGameDataDaoImpl implements GameDataDao {

	private double[] gameData;
	private double R;
	private double S;
	private double T;
	private double P;


	@Override
	public double[] getGameData() {

		return gameData;
	}

	@Override
	public void setGameData(double[] gameData) {

		this.gameData = gameData;
		R = gameData[0];
		S = gameData[1];
		T = gameData[2];
		P = gameData[2];

	}

	public double getR() {
		return R;
	}

	public double getS() {
		return S;
	}

	public double getT() {
		return T;
	}
	
	public double getP() {
		return P;
	}

}
